﻿
using Commonality.DTO;
using Models;
using Models.CarsGuanLi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ICarlifeService
{
    public  interface IKeHuGuanXi
    {
        /// <summary>
        /// 客户信息显示
        /// </summary>
        /// <returns></returns>
        List<Client> Show();

        /// <summary>
        /// 客户信息
        /// </summary>
        /// <returns></returns>
        /// 
        public List<ClientDTO> Shows(DateTime? StartTime, DateTime? EndTime, string? ClientName = "", string? Phone = "", string? IdNumber = ""
             , int ClientTypeId = 0, int RankId = 0, int Progress = 0, string? Isoverdueid = ""
             );

        //public Page<ClientDTO> Shows(DateTime? StartTime, DateTime? EndTime, int size = 5, int lendx = 1, string? ClientName = "", string? Phone = "", string? IdNumber = ""
        //    , int ClientTypeId = 0, int RankId = 0, int Progress = 0, string? Isoverdueid = "");

        List<ClientDTO> ClientBackfill(int id);

    }
}
